package com.wn.icloud.dao;

import com.wn.icloud.domain.BaseEntityDomain;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.NoRepositoryBean;

import java.io.Serializable;

/**
 * @author liguangcai
 * @date 2018/11/30 16:02
 */
@NoRepositoryBean
public interface BaseDao<T extends BaseEntityDomain, ID extends Serializable>
		extends JpaRepository<T, ID>, JpaSpecificationExecutor<T> {

}
